<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	template="/templates/template.xhtml">
	<ui:param name="tituloPagina" value="#{tituloPagina}" />
	<ui:param name="renderedBtnSalvar" value="#{renderedBtnSalvar}" />
	<ui:param name="renderedBtnSalvarContinuar" value="#{renderedBtnSalvarContinuar}" />

	<ui:define name="cont">
		<h:form class="form-horizontal" action="#" style="border-radius: 0px;"
			acceptcharset="ISO-8859-1">
			<ui:insert name="contForm">
			</ui:insert>

			<div class="form-group" style="margin-left: 140px;">
				<div class="col-sm-offset-2 col-sm-10">
					<h:commandButton id="btnSalvar" action="#{bean.persist()}"
						value="Salvar" type="submit" styleClass="btn btn-primary"
						rendered="#{renderedBtnSalvar}" />

					<h:commandButton styleClass="btn btn-default"
						id="bntSalvarContinuar" rendered="#{renderedBtnSalvarContinuar}"
						action="#{bean.persist}"
						value="Salvar e Continuar" type="submit" />
				</div>
			</div>
		</h:form>

	</ui:define>

</ui:composition>